Repository navigation
Conversation
Adds a Testing strategy section, which the README did not have yet, with a Test naming convention subsection: every test method is named _NN_Should<Outcome>_When<Condition>, so a failing test name alone tells what was expected and under which condition.
…ention Renames every test method of CategoryDaoTest to _NN_Should<Outcome>_When<Condition>, with the sequence number following the order of the methods in the class; only the method names change, not the tests' logic or behavior.
…ention Renames every test method of CustomerDaoTest to _NN_Should<Outcome>_When<Condition>, with the sequence number following the order of the methods in the class; only the method names change, not the tests' logic or behavior.
Renames every test method of OrderDaoTest to _NN_Should<Outcome>_When<Condition>, with the sequence number following the order of the methods in the class; only the method names change, not the tests' logic or behavior.
…ntion Renames every test method of ProductDaoTest to _NN_Should<Outcome>_When<Condition>, with the sequence number following the order of the methods in the class; only the method names change, not the tests' logic or behavior.
…d_When convention Renames every test method of ServiceIntegrationTest to _NN_Should<Outcome>_When<Condition>, with the sequence number following the order of the methods in the class; only the method names change, not the tests' logic or behavior.
…ld_When convention Renames every test method of CategoryServiceImplTest to _NN_Should<Outcome>_When<Condition>, with the sequence number following the order of the methods in the class; only the method names change, not the tests' logic or behavior.
…ld_When convention Renames every test method of CustomerServiceImplTest to _NN_Should<Outcome>_When<Condition>, with the sequence number following the order of the methods in the class; only the method names change, not the tests' logic or behavior.
…Should_When convention Renames every test method of OrderReferenceGeneratorTest to _NN_Should<Outcome>_When<Condition>, with the sequence number following the order of the methods in the class; only the method names change, not the tests' logic or behavior.
…When convention Renames every test method of OrderServiceImplTest to _NN_Should<Outcome>_When<Condition>, with the sequence number following the order of the methods in the class; only the method names change, not the tests' logic or behavior.
…d_When convention Renames every test method of ProductServiceImplTest to _NN_Should<Outcome>_When<Condition>, with the sequence number following the order of the methods in the class; only the method names change, not the tests' logic or behavior.
…_When convention Renames every test method of CustomerValidatorTest to _NN_Should<Outcome>_When<Condition>, with the sequence number following the order of the methods in the class; only the method names change, not the tests' logic or behavior.
…onvention Renames every test method of WebIntegrationTest to _NN_Should<Outcome>_When<Condition>, with the sequence number following the order of the methods in the class; only the method names change, not the tests' logic or behavior.
…en convention Renames every test method of CategoryControllerTest to _NN_Should<Outcome>_When<Condition>, with the sequence number following the order of the methods in the class; only the method names change, not the tests' logic or behavior.
…en convention Renames every test method of CustomerControllerTest to _NN_Should<Outcome>_When<Condition>, with the sequence number following the order of the methods in the class; only the method names change, not the tests' logic or behavior.
…convention Renames every test method of OrderControllerTest to _NN_Should<Outcome>_When<Condition>, with the sequence number following the order of the methods in the class; only the method names change, not the tests' logic or behavior.
…n convention Renames every test method of ProductControllerTest to _NN_Should<Outcome>_When<Condition>, with the sequence number following the order of the methods in the class; only the method names change, not the tests' logic or behavior.
test: adopt the _NN_Should<Outcome>_When<Condition> naming convention
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Merge develop into master: all test methods now follow
_NN_Should<Outcome>_When<Condition>, and the README documents the convention.